﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SKYPE4COMLib;

namespace SkypeConsole
{
    class Program
    {
        public static Skype skype;
        public static CmdParser cparser;

        static void Main(string[] args)
        {
            // connect
            skype = new Skype();
            skype.Attach(5, true);

            // start command parser
            cparser = new CmdParser(skype);

            while (true)
            {
                Console.Write("Skype> ");
                string cmd = Console.ReadLine();

                if (cmd == "exit") break;

                Console.WriteLine(cparser.Launcher(cmd));
            }
        }
    }
}
